package com.he.mapper;

import com.he.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author hehengjia
* @description 针对表【sys_role】的数据库操作Mapper
* @createDate 2022-05-10 09:20:15
* @Entity com.he.entity.Role
*/
public interface RoleMapper extends BaseMapper<Role> {


    @Select("select id from Manager_Db.sys_role where flag = #{flag}")
    Integer selectByFlag(@Param("flag") String role);

}




